package com.hzncc.flowable_diboot.contract.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.diboot.core.binding.Binder;
import com.hzncc.flowable_diboot.contract.vo.ContractInfoVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import com.diboot.core.service.impl.BaseServiceImpl;

import com.hzncc.flowable_diboot.contract.entity.ContractInfo;
import com.hzncc.flowable_diboot.mapper.ContractInfoMapper;
import com.hzncc.flowable_diboot.contract.service.ContractInfoService;

import jakarta.annotation.Resource;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;


/**
* 合同基础信息 相关Service实现类
* @author MyName
* @version 1.0
* @date 2024-07-12
* Copyright © MyCorp
*/
@Slf4j
@Service
public class ContractInfoServiceImpl extends BaseServiceImpl<ContractInfoMapper, ContractInfo> implements ContractInfoService {
    
    @Resource
    private ContractInfoMapper contractInfoMapper;

    @Override
    public void deleteByContractCodeAndContractVersion(String contractCode, Long contractVersion) {
        contractInfoMapper.deleteByContractCodeAndContractVersion(contractCode,contractVersion);
    }
}